<!--支付页面(内嵌页面)-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!-- saved from url=(0054)http://bj.tourex.net.cn/iframePayment.aspx?t=l&id=1232 -->
<html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">

<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
<title>在线支付_B2C旅游网站</title>
<link rel="stylesheet" type="text/css" href="/css/hotel/common(1).css">
<link type="text/css" rel="stylesheet" href="/css/hotel/style.css">
<style type="text/css">
.ui-tab-type-item{border: 1px solid #e5e5e5;border-bottom: 0 none;}
.ui-tab-type-item > a{border: 0 none;color: #1262C5;}
.ui-tab-type-item.current{border: 1px solid #e5e5e5;}
.ui-tab-type-item.current > a{background: #fff;color: #333;font-weight: 600;}
.ui-tab-bank-item{border: 1px solid #e5e5e5;padding: 10px;width: 840px;}
.ui-tab-bank-item li{float: left;height: 37px;line-height: 37px;margin: 10px;width: 148px;}
.payment li label{height: 37px; position:relative;z-index:-1}
.paymentBox li{border: 1px solid #ddd;border-radius: 3px;height: 50px;padding: 5px;text-align: center;}
.paymentBox li:hover{border-color: #ff6800;}
.payment li a{display: inline-block;}
#weixinpay i{background: url(images/ico/wxpay.png) no-repeat;width: 60px;height: 60px;display: block;position: absolute;top: 50%;left: 50%;margin-top: -30px;margin-left: -30px;}
</style>
<link rel="stylesheet" type="text/css" href="/css/detail/layer.css" id="layui_layer_skinlayercss"></head>
<body style="min-width: 0px;">
    <form method="post" target="_blank" id="TourExForm">
        <ul class="ui-tab-bank-mf clearfix" id="paynav">
            <li class="ui-tab-type-item current"><a href="javascript:void(0);">网银支付</a> </li>
            <li class="ui-tab-type-item"><a href="javascript:void(0);">平台支付</a> </li>
            <li class="ui-tab-type-item" id="deposit"><a href="javascript:;" target="_top">余额支付</a></li>
        </ul>
        <ul class="ui-tab-bank-item payment clearfix" id="bankPay" style="display: block;">
            <li><a href="http://www.tourex.net.cn/payment.aspx?t=line&id=1232&Payment=tenpay&mid=0&bank_type=1001" target="_blank" title="招商银行借记卡"><label class="cmb">&nbsp;</label></a></li>
            <li><a href="http://www.tourex.net.cn/payment.aspx?t=line&id=1232&Payment=tenpay&mid=0&bank_type=1038" target="_blank" title="招商银行信用卡"><label class="cmbap">&nbsp;</label></a></li>
            <li><a href="http://www.tourex.net.cn/payment.aspx?t=line&id=1232&Payment=tenpay&mid=0&bank_type=1002" target="_blank" title="中国工商银行"><label class="icbcb2c">&nbsp;</label></a></li>
            <li><a href="http://www.tourex.net.cn/payment.aspx?t=line&id=1232&Payment=tenpay&mid=0&bank_type=1003" target="_blank" title="中国建设银行"><label class="ccb">&nbsp;</label></a></li>
            <li><a href="http://www.tourex.net.cn/payment.aspx?t=line&id=1232&Payment=tenpay&mid=0&bank_type=1004" target="_blank" title="上海浦东发展银行"><label class="spdb">&nbsp;</label></a></li>
            <li><a href="http://www.tourex.net.cn/payment.aspx?t=line&id=1232&Payment=tenpay&mid=0&bank_type=1005" target="_blank" title="中国农业银行"><label class="abc">&nbsp;</label></a></li>
            <li><a href="http://www.tourex.net.cn/payment.aspx?t=line&id=1232&Payment=tenpay&mid=0&bank_type=1006" target="_blank" title="中国民生银行"><label class="cmbc">&nbsp;</label></a></li>
            <li><a href="http://www.tourex.net.cn/payment.aspx?t=line&id=1232&Payment=tenpay&mid=0&bank_type=1008" target="_blank" title="深圳发展银行"><label class="sdb">&nbsp;</label></a></li>
            <li><a href="http://www.tourex.net.cn/payment.aspx?t=line&id=1232&Payment=tenpay&mid=0&bank_type=1009" target="_blank" title="兴业银行"><label class="cib">&nbsp;</label></a></li>
            <li><a href="http://www.tourex.net.cn/payment.aspx?t=line&id=1232&Payment=tenpay&mid=0&bank_type=1010" target="_blank" title="平安银行"><label class="pab">&nbsp;</label></a></li>
            <li><a href="http://www.tourex.net.cn/payment.aspx?t=line&id=1232&Payment=tenpay&mid=0&bank_type=1020" target="_blank" title="交通银行"><label class="comm">&nbsp;</label></a></li>
            <li><a href="http://www.tourex.net.cn/payment.aspx?t=line&id=1232&Payment=tenpay&mid=0&bank_type=1021" target="_blank" title="中信银行"><label class="ecitic">&nbsp;</label></a></li>
            <li><a href="http://www.tourex.net.cn/payment.aspx?t=line&id=1232&Payment=tenpay&mid=0&bank_type=1022" target="_blank" title="中国光大银行"><label class="cebbank">&nbsp;</label></a></li>
            <li><a href="http://www.tourex.net.cn/payment.aspx?t=line&id=1232&Payment=tenpay&mid=0&bank_type=1024" target="_blank" title="上海银行"><label class="bos">&nbsp;</label></a></li>
            <li><a href="http://www.tourex.net.cn/payment.aspx?t=line&id=1232&Payment=tenpay&mid=0&bank_type=1025" target="_blank" title="华夏银行"><label class="hxb">&nbsp;</label></a></li>
            <li><a href="http://www.tourex.net.cn/payment.aspx?t=line&id=1232&Payment=tenpay&mid=0&bank_type=1027" target="_blank" title="广东发展银行"><label class="cgb">&nbsp;</label></a></li>
            <li><a href="http://www.tourex.net.cn/payment.aspx?t=line&id=1232&Payment=tenpay&mid=0&bank_type=1028" target="_blank" title="中国邮政储蓄银行（仅支持广东地区）"><label class="postgc">&nbsp;</label></a></li>
            <li><a href="http://www.tourex.net.cn/payment.aspx?t=line&id=1232&Payment=tenpay&mid=0&bank_type=1032" target="_blank" title="北京银行"><label class="bob">&nbsp;</label></a></li>
            <li><a href="http://www.tourex.net.cn/payment.aspx?t=line&id=1232&Payment=tenpay&mid=0&bank_type=1052" target="_blank" title="招商银行"><label class="cmb">&nbsp;</label></a></li>
        </ul>
        <ul class="ui-tab-bank-item payment paymentBox clearfix" id="platformPay" style="display: none;">
            <li id="alipay"><a href="http://www.tourex.net.cn/payment.aspx?t=line&id=1232&Payment=alipay&mid=0" target="_blank"><img alt="支付宝" src="pay_alipay.gif" width="140" height="50"></a></li>
            <li id="tenpay"><a href="http://www.tourex.net.cn/payment.aspx?t=line&id=1232&Payment=tenpay&mid=0" target="_blank"><img alt="财付通" src="pay_tenpay.gif" width="140" height="50"></a></li>
            
            
            
            
             
            <li id="weixinpay" style="position:relative;"><i></i><img alt="微信扫码支付" id="weixincode" src="pay_weixin.gif"></li>
        </ul>
    </form>
    <div class="payPop" id="paymentMsg">
        <h1>支付完成结果<a style="float: right;" href="javascript:;" onclick="HideWindow();"><img alt="" src="delete.png"></a></h1>
        <div class="prompt">
            <b>请在新开窗口完成付款</b>，完成付款后根据你的情况点击以下按钮:</div>
        <div class="paySubmit">
            <a href="http://www.tourex.net.cn/usercenter/line/order.html?id=1232" class="gos" id="orderurl">已完成付款</a> 
            <a href="http://www.tourex.net.cn/help/54/" class="gos">付款遇到问题</a>
        </div>
    </div>
    <script type="text/javascript" src="/js/jquery(1).js"></script>
    <script type="text/javascript" src="/js/detail/layer.js"></script>
    <script type="text/javascript">
        $('#deposit').click(function(event) {
            parent.layer.confirm('是否确定支付？', {
              btn: ['确定', '取消'] 
            }, function(index, layero){
              layer.close(index); 
              parent.location.href='http://www.tourex.net.cn/payment.aspx?t=line&id=1232&Payment=deposit&mid=0';
            }, function(index){
              layer.close(index); 
            });
        });
        var ptype = 'line';
        var flicker;
        $(function () {
            $('.payment>li a').click(function () {
                var a=$(this),li=$(this).parent();
                if (li.attr('id') == 'weixinpay') return;
                if (window.parent.$('#paymentMsg').length == 0) {
                    window.parent.$('body').append($('#paymentMsg'));
                }
                window.parent.ShowWindow('', 'paymentMsg');
            });
            if ('True' == 'False') {
                $('#weixinpay').remove();
            } else {
                $.get('/sys/ajax/weixin/getWeiXinPayPara.ashx?t=line&id=1232&mid=0&type=NATIVE', function (json) {
                    if (typeof (json.err) != "undefined") {
                        alert(json.err);
                        parentIframeHeight();
                        return;
                    }
                    $("#weixincode").attr('src', webpath + 'sys/qrCode.aspx?url=' + encodeURIComponent(json.payurl));
                    $("#weixincode").parent().height(148);
                    parentIframeHeight();
                    flicker = setInterval(function () {
                        $.get('/sys/ajax/GetPayStatus.ashx?t=line&id=1232&mid=0', function (json) {
                            if (json.status==1) {
                                clearInterval(flicker);
                                if(window.parent.location.href.toLowerCase().indexOf('/payment.aspx')!=-1){
                                    window.parent.location=window.parent.document.referrer;
                                }else{
                                    window.parent.location.reload();
                                }
                            }
                        }, 'json');
                    }, 2000);
                }, 'json');
            }
            if ('False' == 'False') $('#yeepay').remove();
            if ('False' == 'False') $('#ips').remove();
            if ('False' == 'False') $('#bill').remove();
            if ('False'=='False')$('#union').remove();
            if ('False' == 'False') $('#chinabank').remove();
            if ('1' == 0||98==0) $('#deposit').remove();
            if ('True' == 'False') {
                $('#alipay').remove();
            }
            if ('True' == 'False') {
                $('#tenpay,#paynav,#bankPay').remove();
                $('#platformPay').show();
            } else {
                $('#paynav li:not(#deposit)').click(function () {
                    $('#bankPay,#platformPay').hide();
                    $(this).siblings().removeClass('current');
                    $(this).addClass('current');
                    var s = $('#paynav li').index(this);
                    if (s == 0) {
                        $('#bankPay').show();
                    } else {
                        $('#platformPay').show();
                    }
                    parentIframeHeight();
                }).first().click();
            }
            var url;
            switch (ptype) {
                case 'flight':
                    url = 'http://www.tourex.net.cn/usercenter/flight/order.html?id=1232';
                    break
                case 'line':
                    url = 'http://www.tourex.net.cn/usercenter/line/order.html?id=1232';
                    break
                case 'scenery':
                    url = 'http://www.tourex.net.cn/usercenter/scenery/order.html?id=1232';
                    break
                case 'hotel':
                    url = 'http://www.tourex.net.cn/usercenter/hotel/order.html?id=1232';
                    break
                case 'car':
                    url = 'http://www.tourex.net.cn/usercenter/car/order.html?id=1232';
                    break
                case 'visa':
                    url = 'http://www.tourex.net.cn/usercenter/visa/order.html?id=1232';
                    break
                case 'guide':
                    url = 'http://www.tourex.net.cn/usercenter/guide/order.html?id=1232';
                    break
                case 'team':
                    url = 'http://www.tourex.net.cn/usercenter/tuan/couponlist.html?orderid=L1703161232';
                    break
                case 'gift':
                    url = 'http://www.tourex.net.cn/usercenter/gift/order.html?id=1232';
                    break
                case 'specialty':
                    url = 'http://www.tourex.net.cn/usercenter/specialty/order.html?id=1232';
                    break
                case 'generic':
                    url = 'http://www.tourex.net.cn/usercenter//order.html?mid=0&id=1232';
                    break
                case 'deposit':
                    $('#deposit').remove();
                    url = 'http://www.tourex.net.cn/usercenter/depositdetails.html';
                    break
            }
            $('#orderurl').attr('href', url);
            parentIframeHeight();
        });
        function parentIframeHeight() {
            var h = $('body').height();
            $("#iframePayment", window.parent.document).height(h);
        }
    </script>


</body></html>